﻿using Model.Attbuter;

namespace Model
{
    /// <summary>
    /// 资金列表设置
    /// </summary>
    public class QS_PlanDetail_DropLIst
    {
        /// <summary>
        /// 项目名称id
        /// </summary>
        [Key]
        public decimal N_ID { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string C_NAME { get; set; }

        /// <summary>
        /// 公司ID
        /// </summary>
        public decimal N_CMYID { get; set; }

        /// <summary>
        /// 表类型：T1:营业收入,T2:预付气款 ,T3:资金支出1,T4:资金支出2,T5:资金支出3,T6:资金支出4
        /// </summary>
        public string C_TABLETYPE { get; set; }

        /// <summary>
        /// 项目类型：1、项目名称，2.用户类别，3、款项类别，4、款项用途
        /// </summary>
        public decimal N_NAMETYPE { get; set; }

        /// <summary>
        /// 上一级
        /// </summary>
        [Colunm(IfVisable = true)]
        public decimal N_PRIVATE { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Colunm(IfVisable = true)]
        public string C_REMARK { get; set; }
    }

    /// <summary>
    /// 用户类别
    /// </summary>
    public class QS_PLANDETAILS_USERCLASS
    {
        /// <summary>
        /// 用户类别id
        /// </summary>
        [Key]
        public decimal N_ID { get; set; }

        /// <summary>
        /// 用户类别名称
        /// </summary>
        public string C_NAME { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string C_REMARK { get; set; }

        /// <summary>
        /// 公司ID
        /// </summary>
        [Colunm(IfVisable = true)]
        public decimal N_CMYID { get; set; }
    }

    /// <summary>
    /// 款项类别
    /// </summary>
    public class QS_PLANDETAILS_PAYMENTCATEGORY
    {
        /// <summary>
        /// 款项类别id
        /// </summary>
        [Key]
        public decimal N_ID { get; set; }

        /// <summary>
        /// 款项类别名称
        /// </summary>
        public string C_NAME { get; set; }

        /// <summary>
        /// 表类型：T1:营业收入,T2:预付气款 ,T3:资金支出1,T4:资金支出2,T5:资金支出3,T6:资金支出4
        /// </summary>
        public string C_REMARK { get; set; }

        /// <summary>
        /// 公司ID
        /// </summary>
        [Colunm(IfVisable = true)]
        public decimal N_CMYID { get; set; }
    }

    /// <summary>
    /// 款项用途
    /// </summary>
    public class QS_PLANDETAILS_PAYMENTPURPOSE
    {
        /// <summary>
        /// 款项用途id
        /// </summary>
        [Key]
        public decimal N_ID { get; set; }

        /// <summary>
        /// 款项用途名称
        /// </summary>
        public string C_NAME { get; set; }

        /// <summary>
        /// 表类型：T1:营业收入,T2:预付气款 ,T3:资金支出1,T4:资金支出2,T5:资金支出3,T6:资金支出4
        /// </summary>
        public string C_REMARK { get; set; }

        /// <summary>
        /// 公司ID
        /// </summary>
        [Colunm(IfVisable = true)]
        public decimal N_CMYID { get; set; }
    }

    /// <summary>
    /// 项目名称
    /// </summary>
    public class QS_PLANDETAILS_PROJECTNAME
    {
        /// <summary>
        /// 项目名称id
        /// </summary>
        [Key]
        public decimal N_ID { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string C_NAME { get; set; }

        /// <summary>
        /// 表类型：T1:营业收入,T2:预付气款 ,T3:资金支出1,T4:资金支出2,T5:资金支出3,T6:资金支出4
        /// </summary>
        public string C_REMARK { get; set; }

        /// <summary>
        /// 公司ID
        /// </summary>
        [Colunm(IfVisable = true)]
        public decimal N_CMYID { get; set; }

        /// <summary>
        /// 上一级
        /// </summary>
        [Colunm(IfVisable = true)]
        public decimal N_PRIVATE { get; set; }
    }
}